package top.tan.pojo.vo;

import java.io.Serializable;

/**
 * 调用https://tool.lu/ip/ajax.html返回的结果
 */
public class IpQueryResultVO implements Serializable {
    private boolean status;
    private String message;
    private IpDetailVO text;

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public IpDetailVO getText() {
        return text;
    }

    public void setText(IpDetailVO text) {
        this.text = text;
    }

    @Override
    public String toString() {
        return "IpQueryResultVO{" +
                "status=" + status +
                ", message='" + message + '\'' +
                ", text=" + text +
                '}';
    }
}
